package com.ruoyi.residential.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 小区列表对象 t_residential
 * 
 * @author ruoyi
 * @date 2025-09-10
 */
public class TResidential extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 小区ID */
    private Long residentialId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String residentialName;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private String residentialAddress;

    /** 排序 */
    @Excel(name = "排序")
    private Long residentialSorting;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date residentialTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long residentialStatus;

    public void setResidentialId(Long residentialId) 
    {
        this.residentialId = residentialId;
    }

    public Long getResidentialId() 
    {
        return residentialId;
    }

    public void setResidentialName(String residentialName) 
    {
        this.residentialName = residentialName;
    }

    public String getResidentialName() 
    {
        return residentialName;
    }

    public void setResidentialAddress(String residentialAddress) 
    {
        this.residentialAddress = residentialAddress;
    }

    public String getResidentialAddress() 
    {
        return residentialAddress;
    }

    public void setResidentialSorting(Long residentialSorting) 
    {
        this.residentialSorting = residentialSorting;
    }

    public Long getResidentialSorting() 
    {
        return residentialSorting;
    }

    public void setResidentialTime(Date residentialTime) 
    {
        this.residentialTime = residentialTime;
    }

    public Date getResidentialTime() 
    {
        return residentialTime;
    }

    public void setResidentialStatus(Long residentialStatus) 
    {
        this.residentialStatus = residentialStatus;
    }

    public Long getResidentialStatus() 
    {
        return residentialStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("residentialId", getResidentialId())
            .append("residentialName", getResidentialName())
            .append("residentialAddress", getResidentialAddress())
            .append("residentialSorting", getResidentialSorting())
            .append("residentialTime", getResidentialTime())
            .append("residentialStatus", getResidentialStatus())
            .toString();
    }
}
